Skip to content

Cover Image and Encoding bug fixes #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Cover Image and Encoding bug fixes #21

wants to merge 6 commits into from

Conversation

filiptrplan
Copy link

@filiptrplan filiptrplan commented Feb 11, 2021

I decided to add the functionality to write a cover image beside the track information file.

Also, the encoding of the parser was wrong so I fixed that, though it is only a temporary fix. It should be utf-16-be and not latin but then it throws some errors. I would suggest just manipulating the raw bytes and decoding only when necessary. Now it also handles stuff like č, ž and Chinese characters properly.

I also added a gitignore because some people use pipenv.

Also, I added some missing packages to requirements.txt.

I know these things should be separate pull requests but I couldn't be bothered.

P.S. The code is very messy when you put everything into one file. I would suggest breaking it up before it becomes too massive.

@e1miran
Copy link
Owner

e1miran commented Feb 11, 2021

@1234filip Thanks for the contribution. Two separate pull requests for the encoding issues and the cover art feature would be appreciated as I'm not inclined to merge these changes to the main branch together. Especially in the case of the cover art feature, which would require time for updating the read.me and familiarity with in order to provide support.

@filiptrplan
Copy link
Author

@1234filip Thanks for the contribution. Two separate pull requests for the encoding issues and the cover art feature would be appreciated as I'm not inclined to merge these changes to the main branch together. Especially in the case of the cover art feature, which would require time for updating the read.me and familiarity with in order to provide support.

I'll make a separate request for the encoding issue but I can't decouple them as the cover art feature isn't possible without the encoding one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants